<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>用户管理</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="../css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="../css/AdminLTE.css" rel="stylesheet" type="text/css" />

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    	<style type="text/css">
    		
    	</style>
    </head>
    <body class="skin-blue">
        <!-- header logo: style can be found in header.less -->
        <#include "../header.html"/>
        <div class="wrapper row-offcanvas row-offcanvas-left">
            <!-- Left side column. contains the logo and sidebar -->
            <#include "../menu.html"/>

            <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side">
            	 <section class="content-header">
                    <h1>用户管理列表</h1>
                </section>
                <!-- Main content -->
                <section class="content">
                     <div class="row">
                        <div class="col-md-12">
                            <div class="box">
                             
                                        <div class="box-header ">
                                <form class="navbar-form navbar-left" role="search" action="list?pageNo=${pageNo!}" method="post" style="width:100%">
  <label>账号</label>
  <div class="form-group">
    <input type="text" class="form-control" name="email" value="${email!}" placeholder="账号">
  </div>
  <label>姓名</label>
  <div class="form-group">
    <input type="text" class="form-control" name="name"  value="${name!}" placeholder="姓名">
  </div>
  <button type="submit" class="btn btn-default">查询</button>
  <div class="pull-right">
                                        <button type="button" class="btn btn-primary" onclick="window.location.href='add'">新增用户</button>
                                    </div><!-- /.col-lg-6 -->
</form> 
                                </div><!-- /.box-header -->
                                    
                                <div class="box-body">
                                    <table class="table table-bordered">
                                        <tr>
                                            <th><a href="#">账号</a></th>
                                			<th><a href="#">姓名</a></th>
                                			<th><a href="#">上级领导</a></th>
                                			<th><a href="#">状态</a></th>
                                			<th><a href="#">备注</a></th>
                                			<th><a href="#">操作</a></th>
                                        </tr>
                                        <#list sysUserList as sysUser>
                                		<tr>
                                			<td class="col-md-3">
                                				${sysUser.email!}
                                			</td>
                                			<td>${sysUser.name!}</td>

                                			<td>${sysUser.superiorName!}</td>

                                			<td><#if sysUser.status??><#if sysUser.status==1>启用<#else>禁用</#if></#if></td>

                                			<td>${sysUser.memo!}</td>
                                			<td class="col-md-1 foundForm">
                                				
                                				<div class="">
                                					<a href="edit?userId=${sysUser.id}">编辑</a>
                                			
                                					<a href="del?userId=${sysUser.id}">删除</a>
                                				</div>
                                			</td>
                                		</tr>
                                	</#list>
                                    </table>
                                </div><!-- /.box-body -->
                                <div class="box-footer clearfix">
                                    <ul class="pagination pagination-sm no-margin pull-right">
                                        ${splitPage?replace("{url}","list?")}
                                    </ul>
                                </div>
                            </div><!-- /.box -->
                        </div><!-- /.col -->
                    </div><!-- /.row -->

                    
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->
		
        <!-- jQuery 2.0.2 -->
        <script src="../js/jquery.min.js"></script>
        <!-- Bootstrap -->
        <script src="../js/bootstrap.min.js" type="text/javascript"></script>
        <!-- AdminLTE App -->
        <script src="../js/AdminLTE/app.js" type="text/javascript"></script>
    </body>
</html>                